package com.example.xymarket.po;

import java.io.Serializable;
import java.util.Date;

public class ShoppingCart implements Serializable
{

    private Integer id;

    private String userId;

    private Integer num;

    private Date createTime;

    private Date updateTime;

    private Goods goodsEntity;

    public ShoppingCart() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }


    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Goods getGoodsEntity() {
        return goodsEntity;
    }

    public void setGoodsEntity(Goods goodsEntity) {
        this.goodsEntity = goodsEntity;
    }
}
